<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"  %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'userInfo.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <center><font size="8"> 用户信息修改</font></center>
  <form action="useraction!userupdate" method="post">
  <table width="100%" align="center">
  <tr align="center">
  <td align="right" width="50%"><input type="hidden" name="user.roleId" value="<s:property value='#session.user.roleId'/>"><input type="hidden" name="user.userId" value="<s:property value='#session.user.userId'/>">姓名 </td><td align="left"><input type="hidden" name="user.userName" value="<s:property value='#session.user.userName'/>"><s:property value='#session.user.userName'/></td>
  </tr>
  <tr align="center">
  <td align="right">密码 </td><td align="left"><input type="text" name="user.userPwd" value="<s:property value='#session.user.userPwd'/>"></td>
  </tr>
  <tr align="center">
  <td align="right">性别 </td><td align="left"><s:radio name="user.userSex" list="#{'男':'男','女':'女'}" listKey="key"  listValue="value" value="'男'"  theme="simple"/></td>
  </tr>
  <tr align="center">
  <td align="right">电话 </td><td align="left"><input type="text" name="user.userTel" value="<s:property value='#session.user.userTel'/>"></td>
  </tr>
   <tr align="center">
  <td align="right">身份证号 </td><td align="left"><input type="text" name="user.idNum" value="<s:property value='#session.user.idNum'/>"></td>
  </tr>
  <tr align="center">
  <td align="right"> </td><td align="left"><input type="submit"  value="修改"><input type="reset" value="重置"></td>
  </tr>
  </table>
  </form>
  </body>
</html>
